package com.ruicar.afs.cloud.afscase.job.loan;

import com.ruicar.afs.cloud.afscase.cargpsmanage.service.GpsManageService;
import com.ruicar.afs.cloud.afscase.channel.service.ChannelQuotaInfoService;
import com.ruicar.afs.cloud.common.job.core.biz.model.ReturnT;
import com.ruicar.afs.cloud.common.job.core.handler.annotation.AfsJob;
import com.ruicar.afs.cloud.common.job.core.handler.annotation.AfsJobHandler;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@AfsJob
@AllArgsConstructor
@Slf4j
@Component
public class CaseLoanJob {

   private GpsManageService gpsManageService;

   /**
    * @param
    * @description GPS审核自动任务
    * @author yk.Li
    * @date 2020/8/5
    */
    @AfsJobHandler(value = "gpsAutoAudit")
    public ReturnT<String> gpsAutoAudit(String param) {
        gpsManageService.gpsAutoAudit();
        return ReturnT.SUCCESS;
    }
}
